package com.buxiaoxia.business.repository;

import com.buxiaoxia.business.entity.SysRole;
import com.buxiaoxia.business.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by 罗昆 on 2018/9/12.
 */
@Mapper
public interface UserDao {
    public User findByUserName(String username);

    List<SysRole> getRoles(int id);
}
